import {request} from '@umijs/max';
import * as API from "@/services";


/** 用户足迹 分页检索请求 */
export async function queryUserFootprints(params: API.UserFootprintPageQueryParams): Promise<API.RespPageResult<API.UserFootprint>> {
  return request('/api/v1/user-footprint', {
    params,
  });
}

/** 用户足迹 详情请求 */
export async function queryUserFootprint(bizId: API.EntityId): Promise<API.RespResult<API.UserFootprint>> {
  return request(`/api/v1/user-footprint/${bizId}`);
}

